<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <app-header></app-header>
        <app-main></app-main>
        <app-footer></app-footer>
    </div>
</body>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    Vue.component('app-header', {
        template: '<h1>头部组件</h1>'
    })
    Vue.component('app-main', {
        template: '<ul><li>用户管理</li><li>账单管理</li><li>供应商管理</li></ul>'
    })
    Vue.component('app-footer', {
        template: '<h1>底部组件</h1>'
    })
    new Vue({
        el: '#app'
    })
</script>

</html>